﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200138F RID: 5007
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeRogueEndlessActivityPointRewardScRsp : IMessage<TakeRogueEndlessActivityPointRewardScRsp>, IMessage, IEquatable<TakeRogueEndlessActivityPointRewardScRsp>, IDeepCloneable<TakeRogueEndlessActivityPointRewardScRsp>, IBufferMessage
	{
		// Token: 0x17003F20 RID: 16160
		// (get) Token: 0x0600E031 RID: 57393 RVA: 0x002577B7 File Offset: 0x002559B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeRogueEndlessActivityPointRewardScRsp> Parser
		{
			get
			{
				return TakeRogueEndlessActivityPointRewardScRsp._parser;
			}
		}

		// Token: 0x17003F21 RID: 16161
		// (get) Token: 0x0600E032 RID: 57394 RVA: 0x002577BE File Offset: 0x002559BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeRogueEndlessActivityPointRewardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F22 RID: 16162
		// (get) Token: 0x0600E033 RID: 57395 RVA: 0x002577D0 File Offset: 0x002559D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeRogueEndlessActivityPointRewardScRsp.Descriptor;
			}
		}

		// Token: 0x0600E034 RID: 57396 RVA: 0x002577D7 File Offset: 0x002559D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEndlessActivityPointRewardScRsp()
		{
		}

		// Token: 0x0600E035 RID: 57397 RVA: 0x002577EC File Offset: 0x002559EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEndlessActivityPointRewardScRsp(TakeRogueEndlessActivityPointRewardScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.level_ = other.level_;
			this.fEIBKNDNJAH_ = other.fEIBKNDNJAH_.Clone();
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this.fEJEDBDGPAF_ = other.fEJEDBDGPAF_;
			this.iCDOHKPKMAH_ = other.iCDOHKPKMAH_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E036 RID: 57398 RVA: 0x0025786D File Offset: 0x00255A6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEndlessActivityPointRewardScRsp Clone()
		{
			return new TakeRogueEndlessActivityPointRewardScRsp(this);
		}

		// Token: 0x17003F23 RID: 16163
		// (get) Token: 0x0600E037 RID: 57399 RVA: 0x00257875 File Offset: 0x00255A75
		// (set) Token: 0x0600E038 RID: 57400 RVA: 0x0025787D File Offset: 0x00255A7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003F24 RID: 16164
		// (get) Token: 0x0600E039 RID: 57401 RVA: 0x00257886 File Offset: 0x00255A86
		// (set) Token: 0x0600E03A RID: 57402 RVA: 0x0025788E File Offset: 0x00255A8E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x17003F25 RID: 16165
		// (get) Token: 0x0600E03B RID: 57403 RVA: 0x00257897 File Offset: 0x00255A97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> FEIBKNDNJAH
		{
			get
			{
				return this.fEIBKNDNJAH_;
			}
		}

		// Token: 0x17003F26 RID: 16166
		// (get) Token: 0x0600E03C RID: 57404 RVA: 0x0025789F File Offset: 0x00255A9F
		// (set) Token: 0x0600E03D RID: 57405 RVA: 0x002578A7 File Offset: 0x00255AA7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x17003F27 RID: 16167
		// (get) Token: 0x0600E03E RID: 57406 RVA: 0x002578B0 File Offset: 0x00255AB0
		// (set) Token: 0x0600E03F RID: 57407 RVA: 0x002578B8 File Offset: 0x00255AB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FEJEDBDGPAF
		{
			get
			{
				return this.fEJEDBDGPAF_;
			}
			set
			{
				this.fEJEDBDGPAF_ = value;
			}
		}

		// Token: 0x17003F28 RID: 16168
		// (get) Token: 0x0600E040 RID: 57408 RVA: 0x002578C1 File Offset: 0x00255AC1
		// (set) Token: 0x0600E041 RID: 57409 RVA: 0x002578C9 File Offset: 0x00255AC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool ICDOHKPKMAH
		{
			get
			{
				return this.iCDOHKPKMAH_;
			}
			set
			{
				this.iCDOHKPKMAH_ = value;
			}
		}

		// Token: 0x0600E042 RID: 57410 RVA: 0x002578D2 File Offset: 0x00255AD2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeRogueEndlessActivityPointRewardScRsp);
		}

		// Token: 0x0600E043 RID: 57411 RVA: 0x002578E0 File Offset: 0x00255AE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeRogueEndlessActivityPointRewardScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.Level == other.Level && this.fEIBKNDNJAH_.Equals(other.fEIBKNDNJAH_) && object.Equals(this.Reward, other.Reward) && this.FEJEDBDGPAF == other.FEJEDBDGPAF && this.ICDOHKPKMAH == other.ICDOHKPKMAH && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E044 RID: 57412 RVA: 0x00257974 File Offset: 0x00255B74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			num ^= this.fEIBKNDNJAH_.GetHashCode();
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this.FEJEDBDGPAF != 0U)
			{
				num ^= this.FEJEDBDGPAF.GetHashCode();
			}
			if (this.ICDOHKPKMAH)
			{
				num ^= this.ICDOHKPKMAH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E045 RID: 57413 RVA: 0x00257A22 File Offset: 0x00255C22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E046 RID: 57414 RVA: 0x00257A2A File Offset: 0x00255C2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E047 RID: 57415 RVA: 0x00257A34 File Offset: 0x00255C34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.fEIBKNDNJAH_.WriteTo(ref output, TakeRogueEndlessActivityPointRewardScRsp._repeated_fEIBKNDNJAH_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this.ICDOHKPKMAH)
			{
				output.WriteRawTag(64);
				output.WriteBool(this.ICDOHKPKMAH);
			}
			if (this.FEJEDBDGPAF != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.FEJEDBDGPAF);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Level);
			}
			if (this.reward_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.Reward);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E048 RID: 57416 RVA: 0x00257AF4 File Offset: 0x00255CF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			num += this.fEIBKNDNJAH_.CalculateSize(TakeRogueEndlessActivityPointRewardScRsp._repeated_fEIBKNDNJAH_codec);
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this.FEJEDBDGPAF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FEJEDBDGPAF);
			}
			if (this.ICDOHKPKMAH)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E049 RID: 57417 RVA: 0x00257B9C File Offset: 0x00255D9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeRogueEndlessActivityPointRewardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			this.fEIBKNDNJAH_.Add(other.fEIBKNDNJAH_);
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			if (other.FEJEDBDGPAF != 0U)
			{
				this.FEJEDBDGPAF = other.FEJEDBDGPAF;
			}
			if (other.ICDOHKPKMAH)
			{
				this.ICDOHKPKMAH = other.ICDOHKPKMAH;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E04A RID: 57418 RVA: 0x00257C51 File Offset: 0x00255E51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E04B RID: 57419 RVA: 0x00257C5C File Offset: 0x00255E5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num == 8U || num == 10U)
					{
						this.fEIBKNDNJAH_.AddEntriesFrom(ref input, TakeRogueEndlessActivityPointRewardScRsp._repeated_fEIBKNDNJAH_codec);
						continue;
					}
					if (num == 32U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else if (num <= 72U)
				{
					if (num == 64U)
					{
						this.ICDOHKPKMAH = input.ReadBool();
						continue;
					}
					if (num == 72U)
					{
						this.FEJEDBDGPAF = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 80U)
					{
						this.Level = input.ReadUInt32();
						continue;
					}
					if (num == 122U)
					{
						if (this.reward_ == null)
						{
							this.Reward = new ItemList();
						}
						input.ReadMessage(this.Reward);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040058C7 RID: 22727
		private static readonly MessageParser<TakeRogueEndlessActivityPointRewardScRsp> _parser = new MessageParser<TakeRogueEndlessActivityPointRewardScRsp>(() => new TakeRogueEndlessActivityPointRewardScRsp());

		// Token: 0x040058C8 RID: 22728
		private UnknownFieldSet _unknownFields;

		// Token: 0x040058C9 RID: 22729
		public const int RetcodeFieldNumber = 4;

		// Token: 0x040058CA RID: 22730
		private uint retcode_;

		// Token: 0x040058CB RID: 22731
		public const int LevelFieldNumber = 10;

		// Token: 0x040058CC RID: 22732
		private uint level_;

		// Token: 0x040058CD RID: 22733
		public const int FEIBKNDNJAHFieldNumber = 1;

		// Token: 0x040058CE RID: 22734
		private static readonly FieldCodec<uint> _repeated_fEIBKNDNJAH_codec = FieldCodec.ForUInt32(10U);

		// Token: 0x040058CF RID: 22735
		private readonly RepeatedField<uint> fEIBKNDNJAH_ = new RepeatedField<uint>();

		// Token: 0x040058D0 RID: 22736
		public const int RewardFieldNumber = 15;

		// Token: 0x040058D1 RID: 22737
		private ItemList reward_;

		// Token: 0x040058D2 RID: 22738
		public const int FEJEDBDGPAFFieldNumber = 9;

		// Token: 0x040058D3 RID: 22739
		private uint fEJEDBDGPAF_;

		// Token: 0x040058D4 RID: 22740
		public const int ICDOHKPKMAHFieldNumber = 8;

		// Token: 0x040058D5 RID: 22741
		private bool iCDOHKPKMAH_;
	}
}
